package org.batatasframework.web.spi.handler;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.security.core.Authentication;

import cn.bonoon.kernel.security.LogonUser;

/**
 * 登录成功后需要处理的事件
 * @author jackson
 *
 */
public interface OnLogonSuccess {
	void onSuccess(HttpServletRequest request, HttpServletResponse response, Authentication authentication, LogonUser user);
}
